package cn.wzy.pojo;

import java.util.Date;

/**
 * @author nihaowzy
 * @date 2020/12/26 16:21
 */
public class VisitLog {
    /**
     * 业务员id
     */
    private Integer userId;
    /**
     * 业务员名称
     */
    private String realname;
    /**
     * 客户id
     */
    private Integer customerId;
    /**
     * 客户名称
     */
    private String name;
    /**
     * 拜访时间
     */
    private Date visitTime;
    /**
     * 拜访内容
     */
    private String descp;
    /**
     * 创建拜访记录时间
     */
    private Date createTime;

    public VisitLog() {
    }

    public VisitLog(Integer userId, String realname, Integer customerId, String name, Date visitTime, String descp, Date createTime) {
        this.userId = userId;
        this.realname = realname;
        this.customerId = customerId;
        this.name = name;
        this.visitTime = visitTime;
        this.descp = descp;
        this.createTime = createTime;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getRealname() {
        return realname;
    }

    public void setRealname(String realname) {
        this.realname = realname;
    }

    public Integer getCustomerId() {
        return customerId;
    }

    public void setCustomerId(Integer customerId) {
        this.customerId = customerId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Date getVisitTime() {
        return visitTime;
    }

    public void setVisitTime(Date visitTime) {
        this.visitTime = visitTime;
    }

    public String getDescp() {
        return descp;
    }

    public void setDescp(String descp) {
        this.descp = descp;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "VisitLog{" +
                "userId=" + userId +
                ", realname='" + realname + '\'' +
                ", customerId=" + customerId +
                ", name='" + name + '\'' +
                ", visitTime=" + visitTime +
                ", descp='" + descp + '\'' +
                ", createTime=" + createTime +
                '}';
    }
}
